package com.hmall.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

@Table(name = "mall_order_fufillment")
public class MallOrderFufillment {
    @Id
    @Column(name = "mall_order_fufillment_id")
    private Integer mallOrderFufillmentId;

    @Column(name = "order_item_id")
    private Integer orderItemId;

    private String model;

    private BigDecimal weight;

    @Column(name = "is_received")
    private Integer isReceived;

    @Column(name = "is_pay")
    private Integer isPay;

    @Column(name = "send_time")
    private Date sendTime;

    @Column(name = "receive_time")
    private Date receiveTime;

    @Column(name = "pay_time")
    private Date payTime;

    @Column(name = "customer_id")
    private Integer customerId;

    @Column(name = "fufillment_no")
    private String fufillmentNo;

    /**
     * @return mall_order_fufillment_id
     */
    public Integer getMallOrderFufillmentId() {
        return mallOrderFufillmentId;
    }

    /**
     * @param mallOrderFufillmentId
     */
    public void setMallOrderFufillmentId(Integer mallOrderFufillmentId) {
        this.mallOrderFufillmentId = mallOrderFufillmentId;
    }

    /**
     * @return order_item_id
     */
    public Integer getOrderItemId() {
        return orderItemId;
    }

    /**
     * @param orderItemId
     */
    public void setOrderItemId(Integer orderItemId) {
        this.orderItemId = orderItemId;
    }

    /**
     * @return model
     */
    public String getModel() {
        return model;
    }

    /**
     * @param model
     */
    public void setModel(String model) {
        this.model = model;
    }

    public BigDecimal getWeight() {
        return weight;
    }

    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    /**
     * @return is_received
     */
    public Integer getIsReceived() {
        return isReceived;
    }

    /**
     * @param isReceived
     */
    public void setIsReceived(Integer isReceived) {
        this.isReceived = isReceived;
    }

    /**
     * @return is_pay
     */
    public Integer getIsPay() {
        return isPay;
    }

    /**
     * @param isPay
     */
    public void setIsPay(Integer isPay) {
        this.isPay = isPay;
    }

    /**
     * @return send_time
     */
    public Date getSendTime() {
        return sendTime;
    }

    /**
     * @param sendTime
     */
    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    /**
     * @return receive_time
     */
    public Date getReceiveTime() {
        return receiveTime;
    }

    /**
     * @param receiveTime
     */
    public void setReceiveTime(Date receiveTime) {
        this.receiveTime = receiveTime;
    }

    /**
     * @return pay_time
     */
    public Date getPayTime() {
        return payTime;
    }

    /**
     * @param payTime
     */
    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    /**
     * @return customer_id
     */
    public Integer getCustomerId() {
        return customerId;
    }

    /**
     * @param customerId
     */
    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public String getFufillmentNo() {
        return fufillmentNo;
    }

    public void setFufillmentNo(String fufillmentNo) {
        this.fufillmentNo = fufillmentNo;
    }
}